package com.service.bank;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;

/**
 * @Author : RulerWood
 * @Data : 2024/4/1 - 18:46
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.client.common","com.service.bank"})
@MapperScan("com.service.bank.mapper")
@EnableFeignClients
//开启定时任务
@EnableScheduling
public class BankSpringbootApplication {
    public static void main(String[] args) {
        SpringApplication.run(BankSpringbootApplication.class, args);
    }
}
